<?php
require_once ROOT_DIR."/filter/Interface.php";

class Filter_Digit implements Filter_Interface 
{
	static public function filter($value)
	{
		$value = preg_replace('/[^0123456789]+/i','',$value); 
		return ($value == "")? false : $value; 
	}
}
?>